package com.ruoyi.workflow.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 模型管理对象 model
 * 
 * @author yuanpingfang
 * @date 2021-04-08
 */
public class Model extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 模型编号 */
    @Excel(name = "模型编号")
    private String id;

    /** 模型名称 */
    @Excel(name = "模型名称")
    private String name;

    /** 模型KEY */
    @Excel(name = "模型KEY")
    private String key;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createdBy;

    /** 版本号 */
    @Excel(name = "版本号")
    private String version;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setKey(String key) 
    {
        this.key = key;
    }

    public String getKey() 
    {
        return key;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setCreatedBy(String createdBy) 
    {
        this.createdBy = createdBy;
    }

    public String getCreatedBy() 
    {
        return createdBy;
    }
    public void setVersion(String version) 
    {
        this.version = version;
    }

    public String getVersion() 
    {
        return version;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("key", getKey())
            .append("description", getDescription())
            .append("createdBy", getCreatedBy())
            .append("version", getVersion())
            .toString();
    }
}
